package mq

import (
	"bytes"
	"time"
)

func formatJxTime() []byte {
	t := time.Now()
	b := bytes.NewBuffer([]byte{})
	b.WriteByte(byte(t.Year() - 2000))
	b.WriteByte(byte(t.Month()))
	b.WriteByte(byte(t.Day()))
	b.WriteByte(byte(t.Hour()))
	b.WriteByte(byte(t.Minute()))
	b.WriteByte(byte(t.Second()))
	return b.Bytes()
}
